package com.canaan.business.service.barcode;

import java.util.List;
import com.canaan.business.domain.barcode.UploadCircubill;

/**
 * 监管码Service接口
 *
 * @author yangjie
 * @date 2025-01-15
 */
public interface IUploadCircubillService {
    /**
     * 查询监管码
     *
     * @param id 监管码主键
     * @return 监管码
     */
    UploadCircubill selectUploadCircubillById(Long id);

    /**
     * 查询监管码列表
     *
     * @param uploadCircubill 监管码
     * @return 监管码集合
     */
    List<UploadCircubill> selectUploadCircubillList(UploadCircubill uploadCircubill);

    /**
     * 新增监管码
     *
     * @param uploadCircubill 监管码
     * @return 结果
     */
    int insertUploadCircubill(UploadCircubill uploadCircubill);

    /**
     * 批量新增监管码
     *
     * @param uploadCircubillList 监管码列表
     * @return 结果
     */
    int batchInsertUploadCircubill(List<UploadCircubill> uploadCircubillList);

    /**
     * 修改监管码
     *
     * @param uploadCircubill 监管码
     * @return 结果
     */
    int updateUploadCircubill(UploadCircubill uploadCircubill);

    /**
     * 批量修改监管码
     *
     * @param uploadCircubillList 监管码列表
     * @return 结果
     */
    int batchUpdateUploadCircubill(List<UploadCircubill> uploadCircubillList);

    /**
     * 批量删除监管码
     *
     * @param ids 需要删除的监管码主键集合
     * @return 结果
     */
    int deleteUploadCircubillByIds(Long[] ids);

    /**
     * 删除监管码信息
     *
     * @param id 监管码主键
     * @return 结果
     */
    int deleteUploadCircubillById(Long id);

}
